package com.getword.web.controller;

import com.getword.service.UserService;
import com.getword.web.model.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api")
public class ApiLoginController {

    @Autowired
    private UserService userService;


    // 注册页面
    @RequestMapping("/register.html")
    public String register(){
        return "/register.html";
    }

    @GetMapping("/logout")
    public Result logout(){
        return null;
    }


}
